<?php $this->load->view('../layout/header'); ?>
<div class="container">   
<script type="text/javascript">
    $(function () {
        $(".header_menu > ul > li").mouseover(function () {
            $(".header_menu > ul > li > ul").hide();
            $(this).find("ul").width($(this).width());
            $(this).find("ul").find("li").last().addClass("last");
            $(this).find("ul").show();
            $(this).find("ul").mouseleave(function () {
                $(this).hide();
            });
        });

        $(".header_menu > ul > li").mouseleave(function () {
            $(".header_menu > ul > li > ul").hide();
        });

        $(".header_menu > ul > li:last").addClass("last");
    });
</script>
<div class="header">
    <div class="header_left">
        <div class="header_logo">
        </div>
    </div>
    <div class="header_right">
        <div class="language">
            <a href="/" title="简体中文版">简体中文版</a>
        </div>
        <div class="search">
            <form id="searchfrm" name="searchfrm" method="post" action="search.html" onsubmit="return Search()">
            <input name="SearchKey" id="SearchKey" type="text" class="input" />
            <input name="IsSearch" id="IsSearch" type="hidden" class="input" value="1" />
            <input name="btnSearch" id="btnSearch" type="submit" class="submit" value="搜索" />
            </form>
        </div>
    </div>
</div>
<?php $this->load->view('../layout/nav'); ?>

        
    <script language="javascript" src="/Api/AdShow.ashx?AdPositionID=1" type="text/javascript"></script>
    <div class="ad">
        <div class="imglist">
            <ul id="ulContent">
                <?php foreach($ad_list['list'] as $k=>$v) :?>
                    <li style="z-index:9;opacity:1;filter:alpha(opacity=100);">
                        <a href="<?php echo $v['adlink']?>" title="<?php echo $v['adname']?>" target="_blank">
                            <img src="<?php echo $v['adpath']?>" height="300" width="980"/>
                        </a>
                    </li>
                <?php endforeach ;?>
            </ul>
        </div>
        <div class="btnlist">
            <ul id="tabList">
                <?php foreach($ad_list['list'] as $ks=>$vs) : ?>
                <li <?php if($ks==1){?>class="selected"<?php }?>><?php echo $vs['adid'];?></li>
                <?php endforeach ;?>
            </ul>
        </div>
    </div>
    <div class="center">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td width="33%" valign="top">
                    <div class="index_area">
                        <h1>
                            关于我们</h1>
                        <div class="block_content">
                            关于我们

                        </div>
                    </div>
                </td>
                <td width="33%" valign="top">
                    <div class="index_area">
                        <h1>新闻中心</h1>
                        <?php if(!empty($article_list)) :?>
                            <ul class="">
                                <?php foreach ($article_list as $k=>$v) :?>
                                    <li><a href="article-details-<?php echo $v['articleid']?>.html" title="<?php echo $v['title']?>"><?php echo $v['title']?></a></li>
                                <?php endforeach ;?>
                            </ul>
                        <?php endif;?>
                    </div>
                </td>
                <td width="33%" valign="top">
                    <div class="index_area">
                        <h1>产品中心</h1>
                        <?php if(!empty($product_list)) :?>
                        <ul class="">
                            <?php foreach ($product_list['list'] as $k=>$v) : ?>
                                <li><a href="product-details-<?php echo $v['productid']?>.html" title="<?php echo $v['productname']?>"><?php echo $v['productname']?></a></li>
                            <?php endforeach ;?>
                        </ul>
                        <?php endif;?>
                    </div>
                </td>
            </tr>
            
        </table>
        <?php if(!empty($block_list)){ ?>
        <div class="block_content">
            <p style="text-indent:2em;">片段内容</p>
                <ul class="">
                    <?php foreach($block_list['list'] as $k=>$v) :?>
                        <p><a href=""><?php echo $v['blockname']?></a></p>
                    <?php endforeach ;?>
                </ul>
            </p>
        </div>
        <?php }?>
    </div>

        
    <?php echo $g_site['footerinfo']?>

    </div>
    
<div id="chat_box">
    <div class="chat_box_top">
    </div>
    <div class="chat_box_mid">
        <ul>
            
                    <li>
                        <a target="_blank" href="http://sighttp.qq.com/authd?IDKEY=692fe998a1777eb7b13b7211347c0da59ebb5cfa65d4a68c"><img border="0"  src="http://wpa.qq.com/imgd?IDKEY=692fe998a1777eb7b13b7211347c0da59ebb5cfa65d4a68c&pic=4" alt="点击这里给我发消息" title="点击这里给我发消息">在线QQ</a></li>
                
        </ul>
    </div>
    <div class="chat_box_bottom">
    </div>
</div>
<script type="text/javascript"> 
//<![CDATA[
    var tips;
    var theTop = 120;
    var old = theTop;
    function initFloatTips() {
        tips = document.getElementById("chat_box");
        moveTips();
    };

    function moveTips() {
        var grantt = 20;
        if (window.innerHeight) {
            pos = window.pageYOffset
        }
        else
            if (document.documentElement && document.documentElement.scrollTop) {
                pos = document.documentElement.scrollTop
            }
            else
                if (document.body) {
                    pos = document.body.scrollTop;
                }
        pos = pos - tips.offsetTop + theTop;
        pos = tips.offsetTop + pos / 10;
        if (pos < theTop)
            pos = theTop;
        if (pos != old) {
            tips.style.top = pos + "px";
            grantt = 10;
        }
        old = pos;
        setTimeout(moveTips, grantt);
    }
    //!]]> 
    initFloatTips();
</script>

    <a class="returnTop" title="返回顶部"></a>
<?php $this->load->view('../layout/footer'); ?>
